import Vue from 'vue'
import App from './App.vue'
var axios = require('axios')
axios.defaults.timeout = 30000;
// 将API方法绑定到全局
Vue.prototype.$axios = axios;

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.config.productionTip = false
Vue.use(ElementUI);

new Vue({
  render: h => h(App),
}).$mount('#app')
